home *** CD-ROM | disk | FTP | other *** search
- Path: river.tay.ac.uk!insc3npt
- From: insc3npt@river.tay.ac.uk (N Thomson)
- Newsgroups: comp.lang.c
- Subject: Help Required with curses "setattr"
- Message-ID: <1996Feb23.143730.24705@river.tay.ac.uk>
- Date: 23 Feb 96 14:37:30 GMT
- Reply-To: N.THOMSON@BCS.ORG.UK
- Organization: University of Abertay Dundee
-
- Hi.
-
- I'm trying to write a program on a DEC Alpha which uses curses functions to
- display the output. Everythin works OK except for the settattr function (for
- stdscr) to set bold and revserse attributes.
-
- Code sample:
-
- initscr() ;
- setattr(_BLINK) ;
- printw("Somes Text") ;
- clrattr(_BLINK) ;
- .
- .
- .
- refresh() ;
- .
- .
- .
- endwin() ;
-
- (including the curses header file).
-
- According to the docs this is correct but the text is not displayed in bold.
-
- If anyone has any ideas please let me know.
-
- Nick
-
- N.Thomson@bcs.org.uk
-